package com.keba.otp.db;

import com.keba.otp.db.mysql.MySQLDAOFactory;
/**
 * DAO osztalyok absztract gyarja
 * @author bejmuller
 *
 */
public abstract class DAOFactory {
	public static int MYSQL = 1;
	public static DAOFactory getInstance(int factoryType) {
		switch (factoryType) {
		case 1 : return new MySQLDAOFactory(); 
		default : return null;
		}
		
	}
	
	public abstract UsersDAO getUsersDAO();
	public abstract CompaniesDAO getCompaniesDAO();
	public abstract TempkeysDAO getTempkeysDAO();
}
